#version 330 core

layout(location = 0) in vec3 pos;
layout(location = 1) in vec3 color;
layout(location = 2) in vec2 _texCoord;	// uv坐标

out vec4 vertexColor;
out vec2 texCoord;

void main() {
	gl_Position = vec4(pos.x, pos.y, pos.z, 1.0f);
	//vertexColor = vec4(color.x * diff1, color.y * diff2, color.z, 1.0f);
	texCoord = _texCoord;
}